- 
		Home
	
- 
SEOPress – On-site SEO
- 
9.1
- 
Code
- 
Classes
-  WooCommerceAnalyticsService 
		
			
				
					
													
								
																			
											| Total Complexity | 18 | 
																			
											| Dependencies | 0 | 
																			
											| Dependents | 1 | 
																	
							 
													
								
																			
											| Total lines | 300 | 
																			
											| Lines of code | 204 | 
																			
											| Logical lines of code | 61 | 
																	
							 
													
								
																			
											| Comment lines | 59 | 
																			
											| Methods | 8 | 
																			
											| Properties | 0 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 8
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| removeFromCart() | S | 49 | 4 | 32 | 
					
				| getProductCategories() | S | 57 | 5 | 16 | 
					
				| updateCartOrCheckout() | S | 50 | 3 | 31 | 
					
				| addToCart() | S | 46 | 1 | 51 | 
					
				| singleAddToCart() | S | 48 | 1 | 46 | 
					
				| singleViewItemsDetails() | S | 56 | 1 | 20 | 
					
				| getProductSku() | S | 75 | 2 | 4 | 
					
				| arrayToJs() | S | 74 | 1 | 4 |